
#ifndef PAINTWIDGET_H
#define PAINTWIDGET_H

#include <BWidget>

using namespace BWE;

class PaintWidget : public BWidget
{
	BOBJECT(PaintWidget);
public:
	PaintWidget(BWidget* parent = 0);
	~PaintWidget();

protected:
	virtual void resizeEvent(const BEvent& event) override;
	virtual void updateEvent(const BEvent& event);

	virtual void styleEvent(const BEvent& event);
	virtual void freshEvent(const BEvent& event);
	virtual void paintEvent(const BEvent& event);

};

#endif
